package com.hs.srm.admin.modules.orders.dao;


import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.hs.srm.admin.modules.orders.entity.DeliverEntity;
import com.hs.srm.admin.modules.orders.entity.StockEntity;
import com.hs.srm.admin.modules.orders.vo.ScmPoItemVo;

/**
 * 采购订单行项目DAO接口
 * 
 * @author Sunnykid
 *
 * @date 2019年3月17日
 */
public interface DeliverDao extends BaseMapper<DeliverEntity> {
    
	//分页查询数据
	List<DeliverEntity> selectDetailPage(RowBounds rowBounds,
    @Param("ew") Wrapper<DeliverEntity> wrapper, @Param("params") Map<String, Object> params);
	int insertDeliver(DeliverEntity deliverEntity);
	int updaeDeliver(DeliverEntity deliverEntity);
	
	List<DeliverEntity> findById(@Param("list") List<String> idList);
	DeliverEntity selectByItemId(@Param("Itemid") String Itemid);
}
